<div class="toolbox nobr">
		<input id="loginWindow_login" type="button" class="button" value="登录" />
		<input id="loginWindow_out" type="button" class="button" value="退出" />
</div>
<script type="text/javascript">
if ($('loginWindow_login')) {
	$('loginWindow_login').addEvent('click', function(e){
		new Event(e).stop();
		if ($('loginForm')) {
			$('loginForm').submit();
		}
	});
} 
if ($('loginWindow_out')) {
	$('loginWindow_out').addEvent('click', function(e){
		new Event(e).stop();
		if (window) {
			window.close();
		}
	});
}
</script>